<?php
$images=base_url().'/application/views/templates/givemart/images';

?>

<script src="<?=base_url()?>js/maintainBanner.js" type="text/javascript" charset="utf-8"></script>

<table cellspacing="0" cellpadding="0" width="100%" name = "searchBannerTitle" id = "searchBannerTitle">
	<tbody>
		<tr>
			<td align="left" class='header' height="25px" > 
				<a href="/" class="home" title="Home">&nbsp;Home</a>
				<span class="mark">&nbsp;&raquo;&nbsp;</span><span class="home"><a  href =  "<?=base_url().'maintainBanner'?>">Manage Banner</a></span>
			</td>
		</tr>
	</tbody>
</table>
<br/>

<table width="100%"  name="searchitem1" id = "searchBannerContent">
	<tbody>
		<tr>
			<td class = "cartsubheading" colspan="2" >&nbsp;Search Criteria</td>
		</tr>
		<tr>
			<td class="dotbar" colspan="2">&nbsp;</td>
		</tr>		
		<tr>
			<td colspan="2" >
				<table style="width:100%" id="searchBannerZone">
					<tbody>		
						<tr>
							<td class="notReq">Name:</td>	
							<td>
			 					<?php echo form_input('search_name', set_value('search_name',isset($search_name)? $search_name:null),'size = "20" maxlength = "50" id = "search_name" '); ?>	
							</td>
						</tr>					
					<tr>
							<td class="notReq">Status:</td>	
							<td>
								<?php echo form_dropdown('search_status',
								array(-1=>"All",1=>"Active",0=>"Inactive"),isset($active)?$active:1,'id="search_status" name="search_status" '); ?>
							</td>
					</tr>
					
					</tbody>
				</table>
			</td>
		</tr>
		
		<tr>
			<td class="buttonRow" align="center" colspan="2">
				<br/>
				<a class="button" href="javascript:searchBanner(1)">Search</a> &nbsp; 
				<a class="button" href="javascript:clearValueInSearchBanner()">Clear</a>&nbsp;
				<a class = "button" href="javascript:AddBannerBanner()">Add new Banner</a>&nbsp;
				<br><br> 
			</td>
		</tr>
		<tr>
			<td colspan="2" class="spacer">&nbsp;</td>
		</tr>
		<tr>
		</tr>
		
		<tr>
			<td class = "cartsubheading" colspan="2" >&nbsp;Search Result</td>
		</tr>
		<tr>
			<td class="dotbar" colspan="2">&nbsp;</td>
		</tr>
		<tr>
			<td>
				<div id = "divPagingResult" style="text-align:left;">
				</div>
			</td>
			<td width="1px" style = "white-space: nowrap;">
				<span style="white-space:nowrap">
				    <div id = "divPaging" class="insidePage">
				    </div>
			    </span>
		    </td>
		</tr>
		<tr>
<!-- 				<td  colspan="2" id="searchProductResult"> -->
		<td  colspan="2" id="searchBannerResult">
			</td>
		</tr>
		<tr>
			<td colspan="2">
				<div  id = "divPagingBottom" class="insidePage" style = "text-align:right;">
				</div>
			</td>
		</tr>
	</tbody>
</table>


<div id = "divAddBanner" style="display:none;">
</div>
